package com.ourteam.education.dao;
/**
 * Template Name : DAO数据对象
 * Template Version : 1
 * Template Last Modfiy Date : Fri Aug 18 15:51:23 CST 2017
 * Auto Generate Date : 2019-09-22 15:15:07
  * Warning ! This file will be overwrite when regenerate !
  * 
 */
import org.apache.commons.lang.StringUtils;
public class Lesson implements java.io.Serializable {
    
    public Lesson() {
		super();
	}
	
		
		
		
		
		
	private long id;	
	
	/**
	 * Attribute id Be Seted Falg
	 */
	private boolean idSetted = false;
	
		/**
	 * Attribute id is Null Falg
	 */
	private boolean idNull = false;
	
	   
    /**
	 * Get id
	 * 
	 * @return long
	 */
	final public long getId(){
	    
				
		return id;
				
	}
	
	/**
	 * Set id
	 * 
	 * @param long
	 */
	final public void setId(long id ){
		
				
		this.id = id;
				
		this.idSetted = true;
		
				
				
		this.setIdNull(false);
				
				
	}
	
	/**
	 * Get id Has Been Setted
	 * 
	 * @return boolean
	 */
	final public boolean isIdSetted(){
		return this.idSetted;
	}
	
		
	/**
	 * Set id Null
	 * 
	 */
	final public void setIdNull(){
			
		this.idNull = true;
		
	}	
	
	final public void setIdNull(boolean aNullFlag){
			
		this.idNull = aNullFlag;
		
	}	
	
	final public boolean isIdNull(){
			
		return this.idNull;
		
	}
	
    	
	   
		
		
		
	private long campusId;	
	
	/**
	 * Attribute campusId Be Seted Falg
	 */
	private boolean campusIdSetted = false;
	
		/**
	 * Attribute campusId is Null Falg
	 */
	private boolean campusIdNull = false;
	
	   
    /**
	 * Get campusId
	 * 
	 * @return long
	 */
	final public long getCampusId(){
	    
				
		return campusId;
				
	}
	
	/**
	 * Set campusId
	 * 
	 * @param long
	 */
	final public void setCampusId(long campusId ){
		
				
		this.campusId = campusId;
				
		this.campusIdSetted = true;
		
				
				
		this.setCampusIdNull(false);
				
				
	}
	
	/**
	 * Get campusId Has Been Setted
	 * 
	 * @return boolean
	 */
	final public boolean isCampusIdSetted(){
		return this.campusIdSetted;
	}
	
		
	/**
	 * Set campusId Null
	 * 
	 */
	final public void setCampusIdNull(){
			
		this.campusIdNull = true;
		
	}	
	
	final public void setCampusIdNull(boolean aNullFlag){
			
		this.campusIdNull = aNullFlag;
		
	}	
	
	final public boolean isCampusIdNull(){
			
		return this.campusIdNull;
		
	}
	
    	
	   
		
		
		
	private long classId;	
	
	/**
	 * Attribute classId Be Seted Falg
	 */
	private boolean classIdSetted = false;
	
		/**
	 * Attribute classId is Null Falg
	 */
	private boolean classIdNull = false;
	
	   
    /**
	 * Get classId
	 * 
	 * @return long
	 */
	final public long getClassId(){
	    
				
		return classId;
				
	}
	
	/**
	 * Set classId
	 * 
	 * @param long
	 */
	final public void setClassId(long classId ){
		
				
		this.classId = classId;
				
		this.classIdSetted = true;
		
				
				
		this.setClassIdNull(false);
				
				
	}
	
	/**
	 * Get classId Has Been Setted
	 * 
	 * @return boolean
	 */
	final public boolean isClassIdSetted(){
		return this.classIdSetted;
	}
	
		
	/**
	 * Set classId Null
	 * 
	 */
	final public void setClassIdNull(){
			
		this.classIdNull = true;
		
	}	
	
	final public void setClassIdNull(boolean aNullFlag){
			
		this.classIdNull = aNullFlag;
		
	}	
	
	final public boolean isClassIdNull(){
			
		return this.classIdNull;
		
	}
	
    	
	   
		
		
		
	private long teacherId;	
	
	/**
	 * Attribute teacherId Be Seted Falg
	 */
	private boolean teacherIdSetted = false;
	
		/**
	 * Attribute teacherId is Null Falg
	 */
	private boolean teacherIdNull = false;
	
	   
    /**
	 * Get teacherId
	 * 
	 * @return long
	 */
	final public long getTeacherId(){
	    
				
		return teacherId;
				
	}
	
	/**
	 * Set teacherId
	 * 
	 * @param long
	 */
	final public void setTeacherId(long teacherId ){
		
				
		this.teacherId = teacherId;
				
		this.teacherIdSetted = true;
		
				
				
		this.setTeacherIdNull(false);
				
				
	}
	
	/**
	 * Get teacherId Has Been Setted
	 * 
	 * @return boolean
	 */
	final public boolean isTeacherIdSetted(){
		return this.teacherIdSetted;
	}
	
		
	/**
	 * Set teacherId Null
	 * 
	 */
	final public void setTeacherIdNull(){
			
		this.teacherIdNull = true;
		
	}	
	
	final public void setTeacherIdNull(boolean aNullFlag){
			
		this.teacherIdNull = aNullFlag;
		
	}	
	
	final public boolean isTeacherIdNull(){
			
		return this.teacherIdNull;
		
	}
	
    	
	   
		
		
		
	private long coursePriceId;	
	
	/**
	 * Attribute coursePriceId Be Seted Falg
	 */
	private boolean coursePriceIdSetted = false;
	
		/**
	 * Attribute coursePriceId is Null Falg
	 */
	private boolean coursePriceIdNull = false;
	
	   
    /**
	 * Get coursePriceId
	 * 
	 * @return long
	 */
	final public long getCoursePriceId(){
	    
				
		return coursePriceId;
				
	}
	
	/**
	 * Set coursePriceId
	 * 
	 * @param long
	 */
	final public void setCoursePriceId(long coursePriceId ){
		
				
		this.coursePriceId = coursePriceId;
				
		this.coursePriceIdSetted = true;
		
				
				
		this.setCoursePriceIdNull(false);
				
				
	}
	
	/**
	 * Get coursePriceId Has Been Setted
	 * 
	 * @return boolean
	 */
	final public boolean isCoursePriceIdSetted(){
		return this.coursePriceIdSetted;
	}
	
		
	/**
	 * Set coursePriceId Null
	 * 
	 */
	final public void setCoursePriceIdNull(){
			
		this.coursePriceIdNull = true;
		
	}	
	
	final public void setCoursePriceIdNull(boolean aNullFlag){
			
		this.coursePriceIdNull = aNullFlag;
		
	}	
	
	final public boolean isCoursePriceIdNull(){
			
		return this.coursePriceIdNull;
		
	}
	
    	
	   
		
		
		
	private long classroomId;	
	
	/**
	 * Attribute classroomId Be Seted Falg
	 */
	private boolean classroomIdSetted = false;
	
		/**
	 * Attribute classroomId is Null Falg
	 */
	private boolean classroomIdNull = false;
	
	   
    /**
	 * Get classroomId
	 * 
	 * @return long
	 */
	final public long getClassroomId(){
	    
				
		return classroomId;
				
	}
	
	/**
	 * Set classroomId
	 * 
	 * @param long
	 */
	final public void setClassroomId(long classroomId ){
		
				
		this.classroomId = classroomId;
				
		this.classroomIdSetted = true;
		
				
				
		this.setClassroomIdNull(false);
				
				
	}
	
	/**
	 * Get classroomId Has Been Setted
	 * 
	 * @return boolean
	 */
	final public boolean isClassroomIdSetted(){
		return this.classroomIdSetted;
	}
	
		
	/**
	 * Set classroomId Null
	 * 
	 */
	final public void setClassroomIdNull(){
			
		this.classroomIdNull = true;
		
	}	
	
	final public void setClassroomIdNull(boolean aNullFlag){
			
		this.classroomIdNull = aNullFlag;
		
	}	
	
	final public boolean isClassroomIdNull(){
			
		return this.classroomIdNull;
		
	}
	
    	
	   
		
		
		
	private String repeatType;	
	
	/**
	 * Attribute repeatType Be Seted Falg
	 */
	private boolean repeatTypeSetted = false;
	
		/**
	 * Attribute repeatType is Null Falg
	 */
	private boolean repeatTypeNull = false;
	
	   
    /**
	 * Get repeatType
	 * 
	 * @return String
	 */
	final public String getRepeatType(){
	    
				
		if(isRepeatTypeNull()){
			return null;
		}
		else{
			return StringUtils.trim(repeatType);
		}
				
	}
	
	/**
	 * Set repeatType
	 * 
	 * @param String
	 */
	final public void setRepeatType(String repeatType ){
		
				
		this.repeatType = StringUtils.trim(repeatType);
				
		this.repeatTypeSetted = true;
		
				
				
		this.setRepeatTypeNull(this.repeatType == null);
				
				
	}
	
	/**
	 * Get repeatType Has Been Setted
	 * 
	 * @return boolean
	 */
	final public boolean isRepeatTypeSetted(){
		return this.repeatTypeSetted;
	}
	
		
	/**
	 * Set repeatType Null
	 * 
	 */
	final public void setRepeatTypeNull(){
			
		this.repeatTypeNull = true;
		
	}	
	
	final public void setRepeatTypeNull(boolean aNullFlag){
			
		this.repeatTypeNull = aNullFlag;
		
	}	
	
	final public boolean isRepeatTypeNull(){
			
		return this.repeatTypeNull;
		
	}
	
    	
	   
		
		
		
	private String repeatPeriod;	
	
	/**
	 * Attribute repeatPeriod Be Seted Falg
	 */
	private boolean repeatPeriodSetted = false;
	
		/**
	 * Attribute repeatPeriod is Null Falg
	 */
	private boolean repeatPeriodNull = false;
	
	   
    /**
	 * Get repeatPeriod
	 * 
	 * @return String
	 */
	final public String getRepeatPeriod(){
	    
				
		if(isRepeatPeriodNull()){
			return null;
		}
		else{
			return StringUtils.trim(repeatPeriod);
		}
				
	}
	
	/**
	 * Set repeatPeriod
	 * 
	 * @param String
	 */
	final public void setRepeatPeriod(String repeatPeriod ){
		
				
		this.repeatPeriod = StringUtils.trim(repeatPeriod);
				
		this.repeatPeriodSetted = true;
		
				
				
		this.setRepeatPeriodNull(this.repeatPeriod == null);
				
				
	}
	
	/**
	 * Get repeatPeriod Has Been Setted
	 * 
	 * @return boolean
	 */
	final public boolean isRepeatPeriodSetted(){
		return this.repeatPeriodSetted;
	}
	
		
	/**
	 * Set repeatPeriod Null
	 * 
	 */
	final public void setRepeatPeriodNull(){
			
		this.repeatPeriodNull = true;
		
	}	
	
	final public void setRepeatPeriodNull(boolean aNullFlag){
			
		this.repeatPeriodNull = aNullFlag;
		
	}	
	
	final public boolean isRepeatPeriodNull(){
			
		return this.repeatPeriodNull;
		
	}
	
    	
	   
		
		
		
	private String excludeHolidays;	
	
	/**
	 * Attribute excludeHolidays Be Seted Falg
	 */
	private boolean excludeHolidaysSetted = false;
	
		/**
	 * Attribute excludeHolidays is Null Falg
	 */
	private boolean excludeHolidaysNull = false;
	
	   
    /**
	 * Get excludeHolidays
	 * 
	 * @return String
	 */
	final public String getExcludeHolidays(){
	    
				
		if(isExcludeHolidaysNull()){
			return null;
		}
		else{
			return StringUtils.trim(excludeHolidays);
		}
				
	}
	
	/**
	 * Set excludeHolidays
	 * 
	 * @param String
	 */
	final public void setExcludeHolidays(String excludeHolidays ){
		
				
		this.excludeHolidays = StringUtils.trim(excludeHolidays);
				
		this.excludeHolidaysSetted = true;
		
				
				
		this.setExcludeHolidaysNull(this.excludeHolidays == null);
				
				
	}
	
	/**
	 * Get excludeHolidays Has Been Setted
	 * 
	 * @return boolean
	 */
	final public boolean isExcludeHolidaysSetted(){
		return this.excludeHolidaysSetted;
	}
	
		
	/**
	 * Set excludeHolidays Null
	 * 
	 */
	final public void setExcludeHolidaysNull(){
			
		this.excludeHolidaysNull = true;
		
	}	
	
	final public void setExcludeHolidaysNull(boolean aNullFlag){
			
		this.excludeHolidaysNull = aNullFlag;
		
	}	
	
	final public boolean isExcludeHolidaysNull(){
			
		return this.excludeHolidaysNull;
		
	}
	
    	
	   
		
		
		
	private java.util.Date startDate;	
	
	/**
	 * Attribute startDate Be Seted Falg
	 */
	private boolean startDateSetted = false;
	
		/**
	 * Attribute startDate is Null Falg
	 */
	private boolean startDateNull = false;
	
	   
    /**
	 * Get startDate
	 * 
	 * @return java.util.Date
	 */
	final public java.util.Date getStartDate(){
	    
				
		return startDate;
				
	}
	
	/**
	 * Set startDate
	 * 
	 * @param java.util.Date
	 */
	final public void setStartDate(java.util.Date startDate ){
		
				
		this.startDate = startDate;
				
		this.startDateSetted = true;
		
				
				
		this.setStartDateNull(this.startDate == null);
				
				
	}
	
	/**
	 * Get startDate Has Been Setted
	 * 
	 * @return boolean
	 */
	final public boolean isStartDateSetted(){
		return this.startDateSetted;
	}
	
		
	/**
	 * Set startDate Null
	 * 
	 */
	final public void setStartDateNull(){
			
		this.startDateNull = true;
		
	}	
	
	final public void setStartDateNull(boolean aNullFlag){
			
		this.startDateNull = aNullFlag;
		
	}	
	
	final public boolean isStartDateNull(){
			
		return this.startDateNull;
		
	}
	
    	
	   
		
		
		
	private java.util.Date endDate;	
	
	/**
	 * Attribute endDate Be Seted Falg
	 */
	private boolean endDateSetted = false;
	
		/**
	 * Attribute endDate is Null Falg
	 */
	private boolean endDateNull = false;
	
	   
    /**
	 * Get endDate
	 * 
	 * @return java.util.Date
	 */
	final public java.util.Date getEndDate(){
	    
				
		return endDate;
				
	}
	
	/**
	 * Set endDate
	 * 
	 * @param java.util.Date
	 */
	final public void setEndDate(java.util.Date endDate ){
		
				
		this.endDate = endDate;
				
		this.endDateSetted = true;
		
				
				
		this.setEndDateNull(this.endDate == null);
				
				
	}
	
	/**
	 * Get endDate Has Been Setted
	 * 
	 * @return boolean
	 */
	final public boolean isEndDateSetted(){
		return this.endDateSetted;
	}
	
		
	/**
	 * Set endDate Null
	 * 
	 */
	final public void setEndDateNull(){
			
		this.endDateNull = true;
		
	}	
	
	final public void setEndDateNull(boolean aNullFlag){
			
		this.endDateNull = aNullFlag;
		
	}	
	
	final public boolean isEndDateNull(){
			
		return this.endDateNull;
		
	}
	
    	
	   
		
		
		
	private long maxLessonCount;	
	
	/**
	 * Attribute maxLessonCount Be Seted Falg
	 */
	private boolean maxLessonCountSetted = false;
	
		/**
	 * Attribute maxLessonCount is Null Falg
	 */
	private boolean maxLessonCountNull = false;
	
	   
    /**
	 * Get maxLessonCount
	 * 
	 * @return long
	 */
	final public long getMaxLessonCount(){
	    
				
		return maxLessonCount;
				
	}
	
	/**
	 * Set maxLessonCount
	 * 
	 * @param long
	 */
	final public void setMaxLessonCount(long maxLessonCount ){
		
				
		this.maxLessonCount = maxLessonCount;
				
		this.maxLessonCountSetted = true;
		
				
				
		this.setMaxLessonCountNull(false);
				
				
	}
	
	/**
	 * Get maxLessonCount Has Been Setted
	 * 
	 * @return boolean
	 */
	final public boolean isMaxLessonCountSetted(){
		return this.maxLessonCountSetted;
	}
	
		
	/**
	 * Set maxLessonCount Null
	 * 
	 */
	final public void setMaxLessonCountNull(){
			
		this.maxLessonCountNull = true;
		
	}	
	
	final public void setMaxLessonCountNull(boolean aNullFlag){
			
		this.maxLessonCountNull = aNullFlag;
		
	}	
	
	final public boolean isMaxLessonCountNull(){
			
		return this.maxLessonCountNull;
		
	}
	
    	
	   
		
		
		
	private String startLessonTime;	
	
	/**
	 * Attribute startLessonTime Be Seted Falg
	 */
	private boolean startLessonTimeSetted = false;
	
		/**
	 * Attribute startLessonTime is Null Falg
	 */
	private boolean startLessonTimeNull = false;
	
	   
    /**
	 * Get startLessonTime
	 * 
	 * @return String
	 */
	final public String getStartLessonTime(){
	    
				
		if(isStartLessonTimeNull()){
			return null;
		}
		else{
			return StringUtils.trim(startLessonTime);
		}
				
	}
	
	/**
	 * Set startLessonTime
	 * 
	 * @param String
	 */
	final public void setStartLessonTime(String startLessonTime ){
		
				
		this.startLessonTime = StringUtils.trim(startLessonTime);
				
		this.startLessonTimeSetted = true;
		
				
				
		this.setStartLessonTimeNull(this.startLessonTime == null);
				
				
	}
	
	/**
	 * Get startLessonTime Has Been Setted
	 * 
	 * @return boolean
	 */
	final public boolean isStartLessonTimeSetted(){
		return this.startLessonTimeSetted;
	}
	
		
	/**
	 * Set startLessonTime Null
	 * 
	 */
	final public void setStartLessonTimeNull(){
			
		this.startLessonTimeNull = true;
		
	}	
	
	final public void setStartLessonTimeNull(boolean aNullFlag){
			
		this.startLessonTimeNull = aNullFlag;
		
	}	
	
	final public boolean isStartLessonTimeNull(){
			
		return this.startLessonTimeNull;
		
	}
	
    	
	   
		
		
		
	private String endLessonTime;	
	
	/**
	 * Attribute endLessonTime Be Seted Falg
	 */
	private boolean endLessonTimeSetted = false;
	
		/**
	 * Attribute endLessonTime is Null Falg
	 */
	private boolean endLessonTimeNull = false;
	
	   
    /**
	 * Get endLessonTime
	 * 
	 * @return String
	 */
	final public String getEndLessonTime(){
	    
				
		if(isEndLessonTimeNull()){
			return null;
		}
		else{
			return StringUtils.trim(endLessonTime);
		}
				
	}
	
	/**
	 * Set endLessonTime
	 * 
	 * @param String
	 */
	final public void setEndLessonTime(String endLessonTime ){
		
				
		this.endLessonTime = StringUtils.trim(endLessonTime);
				
		this.endLessonTimeSetted = true;
		
				
				
		this.setEndLessonTimeNull(this.endLessonTime == null);
				
				
	}
	
	/**
	 * Get endLessonTime Has Been Setted
	 * 
	 * @return boolean
	 */
	final public boolean isEndLessonTimeSetted(){
		return this.endLessonTimeSetted;
	}
	
		
	/**
	 * Set endLessonTime Null
	 * 
	 */
	final public void setEndLessonTimeNull(){
			
		this.endLessonTimeNull = true;
		
	}	
	
	final public void setEndLessonTimeNull(boolean aNullFlag){
			
		this.endLessonTimeNull = aNullFlag;
		
	}	
	
	final public boolean isEndLessonTimeNull(){
			
		return this.endLessonTimeNull;
		
	}
	
    	
	   
		
		
		
	private String lessonTopic;	
	
	/**
	 * Attribute lessonTopic Be Seted Falg
	 */
	private boolean lessonTopicSetted = false;
	
		/**
	 * Attribute lessonTopic is Null Falg
	 */
	private boolean lessonTopicNull = false;
	
	   
    /**
	 * Get lessonTopic
	 * 
	 * @return String
	 */
	final public String getLessonTopic(){
	    
				
		if(isLessonTopicNull()){
			return null;
		}
		else{
			return StringUtils.trim(lessonTopic);
		}
				
	}
	
	/**
	 * Set lessonTopic
	 * 
	 * @param String
	 */
	final public void setLessonTopic(String lessonTopic ){
		
				
		this.lessonTopic = StringUtils.trim(lessonTopic);
				
		this.lessonTopicSetted = true;
		
				
				
		this.setLessonTopicNull(this.lessonTopic == null);
				
				
	}
	
	/**
	 * Get lessonTopic Has Been Setted
	 * 
	 * @return boolean
	 */
	final public boolean isLessonTopicSetted(){
		return this.lessonTopicSetted;
	}
	
		
	/**
	 * Set lessonTopic Null
	 * 
	 */
	final public void setLessonTopicNull(){
			
		this.lessonTopicNull = true;
		
	}	
	
	final public void setLessonTopicNull(boolean aNullFlag){
			
		this.lessonTopicNull = aNullFlag;
		
	}	
	
	final public boolean isLessonTopicNull(){
			
		return this.lessonTopicNull;
		
	}
	
    	
	   
		
		
		
	private long deleteFlag;	
	
	/**
	 * Attribute deleteFlag Be Seted Falg
	 */
	private boolean deleteFlagSetted = false;
	
		/**
	 * Attribute deleteFlag is Null Falg
	 */
	private boolean deleteFlagNull = false;
	
	   
    /**
	 * Get deleteFlag
	 * 
	 * @return long
	 */
	final public long getDeleteFlag(){
	    
				
		return deleteFlag;
				
	}
	
	/**
	 * Set deleteFlag
	 * 
	 * @param long
	 */
	final public void setDeleteFlag(long deleteFlag ){
		
				
		this.deleteFlag = deleteFlag;
				
		this.deleteFlagSetted = true;
		
				
				
		this.setDeleteFlagNull(false);
				
				
	}
	
	/**
	 * Get deleteFlag Has Been Setted
	 * 
	 * @return boolean
	 */
	final public boolean isDeleteFlagSetted(){
		return this.deleteFlagSetted;
	}
	
		
	/**
	 * Set deleteFlag Null
	 * 
	 */
	final public void setDeleteFlagNull(){
			
		this.deleteFlagNull = true;
		
	}	
	
	final public void setDeleteFlagNull(boolean aNullFlag){
			
		this.deleteFlagNull = aNullFlag;
		
	}	
	
	final public boolean isDeleteFlagNull(){
			
		return this.deleteFlagNull;
		
	}
	
    	
	   
		
		
		
	private String status;	
	
	/**
	 * Attribute status Be Seted Falg
	 */
	private boolean statusSetted = false;
	
		/**
	 * Attribute status is Null Falg
	 */
	private boolean statusNull = false;
	
	   
    /**
	 * Get status
	 * 
	 * @return String
	 */
	final public String getStatus(){
	    
				
		if(isStatusNull()){
			return null;
		}
		else{
			return StringUtils.trim(status);
		}
				
	}
	
	/**
	 * Set status
	 * 
	 * @param String
	 */
	final public void setStatus(String status ){
		
				
		this.status = StringUtils.trim(status);
				
		this.statusSetted = true;
		
				
				
		this.setStatusNull(this.status == null);
				
				
	}
	
	/**
	 * Get status Has Been Setted
	 * 
	 * @return boolean
	 */
	final public boolean isStatusSetted(){
		return this.statusSetted;
	}
	
		
	/**
	 * Set status Null
	 * 
	 */
	final public void setStatusNull(){
			
		this.statusNull = true;
		
	}	
	
	final public void setStatusNull(boolean aNullFlag){
			
		this.statusNull = aNullFlag;
		
	}	
	
	final public boolean isStatusNull(){
			
		return this.statusNull;
		
	}
	
    	
	   
		
		
		
	private String remarks;	
	
	/**
	 * Attribute remarks Be Seted Falg
	 */
	private boolean remarksSetted = false;
	
		/**
	 * Attribute remarks is Null Falg
	 */
	private boolean remarksNull = false;
	
	   
    /**
	 * Get remarks
	 * 
	 * @return String
	 */
	final public String getRemarks(){
	    
				
		if(isRemarksNull()){
			return null;
		}
		else{
			return StringUtils.trim(remarks);
		}
				
	}
	
	/**
	 * Set remarks
	 * 
	 * @param String
	 */
	final public void setRemarks(String remarks ){
		
				
		this.remarks = StringUtils.trim(remarks);
				
		this.remarksSetted = true;
		
				
				
		this.setRemarksNull(this.remarks == null);
				
				
	}
	
	/**
	 * Get remarks Has Been Setted
	 * 
	 * @return boolean
	 */
	final public boolean isRemarksSetted(){
		return this.remarksSetted;
	}
	
		
	/**
	 * Set remarks Null
	 * 
	 */
	final public void setRemarksNull(){
			
		this.remarksNull = true;
		
	}	
	
	final public void setRemarksNull(boolean aNullFlag){
			
		this.remarksNull = aNullFlag;
		
	}	
	
	final public boolean isRemarksNull(){
			
		return this.remarksNull;
		
	}
	
    	
	   
		
		
		
	private long courseId;	
	
	/**
	 * Attribute courseId Be Seted Falg
	 */
	private boolean courseIdSetted = false;
	
		/**
	 * Attribute courseId is Null Falg
	 */
	private boolean courseIdNull = false;
	
	   
    /**
	 * Get courseId
	 * 课程 ID
	 * @return long
	 */
	final public long getCourseId(){
	    
				
		return courseId;
				
	}
	
	/**
	 * Set courseId
	 * 课程 ID
	 * @param long
	 */
	final public void setCourseId(long courseId ){
		
				
		this.courseId = courseId;
				
		this.courseIdSetted = true;
		
				
				
		this.setCourseIdNull(false);
				
				
	}
	
	/**
	 * Get courseId Has Been Setted
	 * 课程 ID
	 * @return boolean
	 */
	final public boolean isCourseIdSetted(){
		return this.courseIdSetted;
	}
	
		
	/**
	 * Set courseId Null
	 * 课程 ID
	 */
	final public void setCourseIdNull(){
			
		this.courseIdNull = true;
		
	}	
	
	final public void setCourseIdNull(boolean aNullFlag){
			
		this.courseIdNull = aNullFlag;
		
	}	
	
	final public boolean isCourseIdNull(){
			
		return this.courseIdNull;
		
	}
	
    	
	   
		
						
		
	private String campusName;	
	
	/**
	 * Attribute campusName Be Seted Falg
	 */
	private boolean campusNameSetted = false;
	
		/**
	 * Attribute campusName is Null Falg
	 */
	private boolean campusNameNull = false;
	
	   
    /**
	 * Get campusName
	 * 
	 * @return String
	 */
	final public String getCampusName(){
	    
				
		if(isCampusNameNull()){
			return null;
		}
		else{
			return StringUtils.trim(campusName);
		}
				
	}
	
	/**
	 * Set campusName
	 * 
	 * @param String
	 */
	final public void setCampusName(String campusName ){
		
				
		this.campusName = StringUtils.trim(campusName);
				
		this.campusNameSetted = true;
		
				
				
		this.setCampusNameNull(this.campusName == null);
				
				
	}
	
	/**
	 * Get campusName Has Been Setted
	 * 
	 * @return boolean
	 */
	final public boolean isCampusNameSetted(){
		return this.campusNameSetted;
	}
	
		
	/**
	 * Set campusName Null
	 * 
	 */
	final public void setCampusNameNull(){
			
		this.campusNameNull = true;
		
	}	
	
	final public void setCampusNameNull(boolean aNullFlag){
			
		this.campusNameNull = aNullFlag;
		
	}	
	
	final public boolean isCampusNameNull(){
			
		return this.campusNameNull;
		
	}
	
    	
		
								
		
	private String classroomName;	
	
	/**
	 * Attribute classroomName Be Seted Falg
	 */
	private boolean classroomNameSetted = false;
	
		/**
	 * Attribute classroomName is Null Falg
	 */
	private boolean classroomNameNull = false;
	
	   
    /**
	 * Get classroomName
	 * 教室名称
	 * @return String
	 */
	final public String getClassroomName(){
	    
				
		if(isClassroomNameNull()){
			return null;
		}
		else{
			return StringUtils.trim(classroomName);
		}
				
	}
	
	/**
	 * Set classroomName
	 * 教室名称
	 * @param String
	 */
	final public void setClassroomName(String classroomName ){
		
				
		this.classroomName = StringUtils.trim(classroomName);
				
		this.classroomNameSetted = true;
		
				
				
		this.setClassroomNameNull(this.classroomName == null);
				
				
	}
	
	/**
	 * Get classroomName Has Been Setted
	 * 教室名称
	 * @return boolean
	 */
	final public boolean isClassroomNameSetted(){
		return this.classroomNameSetted;
	}
	
		
	/**
	 * Set classroomName Null
	 * 教室名称
	 */
	final public void setClassroomNameNull(){
			
		this.classroomNameNull = true;
		
	}	
	
	final public void setClassroomNameNull(boolean aNullFlag){
			
		this.classroomNameNull = aNullFlag;
		
	}	
	
	final public boolean isClassroomNameNull(){
			
		return this.classroomNameNull;
		
	}
	
    	
		
								
		
	private String className;	
	
	/**
	 * Attribute className Be Seted Falg
	 */
	private boolean classNameSetted = false;
	
		/**
	 * Attribute className is Null Falg
	 */
	private boolean classNameNull = false;
	
	   
    /**
	 * Get className
	 * 班级名称
	 * @return String
	 */
	final public String getClassName(){
	    
				
		if(isClassNameNull()){
			return null;
		}
		else{
			return StringUtils.trim(className);
		}
				
	}
	
	/**
	 * Set className
	 * 班级名称
	 * @param String
	 */
	final public void setClassName(String className ){
		
				
		this.className = StringUtils.trim(className);
				
		this.classNameSetted = true;
		
				
				
		this.setClassNameNull(this.className == null);
				
				
	}
	
	/**
	 * Get className Has Been Setted
	 * 班级名称
	 * @return boolean
	 */
	final public boolean isClassNameSetted(){
		return this.classNameSetted;
	}
	
		
	/**
	 * Set className Null
	 * 班级名称
	 */
	final public void setClassNameNull(){
			
		this.classNameNull = true;
		
	}	
	
	final public void setClassNameNull(boolean aNullFlag){
			
		this.classNameNull = aNullFlag;
		
	}	
	
	final public boolean isClassNameNull(){
			
		return this.classNameNull;
		
	}
	
    	
		
								
		
	private String teacherName;	
	
	/**
	 * Attribute teacherName Be Seted Falg
	 */
	private boolean teacherNameSetted = false;
	
		/**
	 * Attribute teacherName is Null Falg
	 */
	private boolean teacherNameNull = false;
	
	   
    /**
	 * Get teacherName
	 * 教师名称
	 * @return String
	 */
	final public String getTeacherName(){
	    
				
		if(isTeacherNameNull()){
			return null;
		}
		else{
			return StringUtils.trim(teacherName);
		}
				
	}
	
	/**
	 * Set teacherName
	 * 教师名称
	 * @param String
	 */
	final public void setTeacherName(String teacherName ){
		
				
		this.teacherName = StringUtils.trim(teacherName);
				
		this.teacherNameSetted = true;
		
				
				
		this.setTeacherNameNull(this.teacherName == null);
				
				
	}
	
	/**
	 * Get teacherName Has Been Setted
	 * 教师名称
	 * @return boolean
	 */
	final public boolean isTeacherNameSetted(){
		return this.teacherNameSetted;
	}
	
		
	/**
	 * Set teacherName Null
	 * 教师名称
	 */
	final public void setTeacherNameNull(){
			
		this.teacherNameNull = true;
		
	}	
	
	final public void setTeacherNameNull(boolean aNullFlag){
			
		this.teacherNameNull = aNullFlag;
		
	}	
	
	final public boolean isTeacherNameNull(){
			
		return this.teacherNameNull;
		
	}
	
    	
		
								
		
	private String courseName;	
	
	/**
	 * Attribute courseName Be Seted Falg
	 */
	private boolean courseNameSetted = false;
	
		/**
	 * Attribute courseName is Null Falg
	 */
	private boolean courseNameNull = false;
	
	   
    /**
	 * Get courseName
	 * 课程名称
	 * @return String
	 */
	final public String getCourseName(){
	    
				
		if(isCourseNameNull()){
			return null;
		}
		else{
			return StringUtils.trim(courseName);
		}
				
	}
	
	/**
	 * Set courseName
	 * 课程名称
	 * @param String
	 */
	final public void setCourseName(String courseName ){
		
				
		this.courseName = StringUtils.trim(courseName);
				
		this.courseNameSetted = true;
		
				
				
		this.setCourseNameNull(this.courseName == null);
				
				
	}
	
	/**
	 * Get courseName Has Been Setted
	 * 课程名称
	 * @return boolean
	 */
	final public boolean isCourseNameSetted(){
		return this.courseNameSetted;
	}
	
		
	/**
	 * Set courseName Null
	 * 课程名称
	 */
	final public void setCourseNameNull(){
			
		this.courseNameNull = true;
		
	}	
	
	final public void setCourseNameNull(boolean aNullFlag){
			
		this.courseNameNull = aNullFlag;
		
	}	
	
	final public boolean isCourseNameNull(){
			
		return this.courseNameNull;
		
	}
	
    	
		
				
		
		
		
	private String coursePriceDesc;	
	
	/**
	 * Attribute coursePriceDesc Be Seted Falg
	 */
	private boolean coursePriceDescSetted = false;
	
	   
    /**
	 * Get coursePriceDesc
	 * 课程费用简介
	 * @return String
	 */
	final public String getCoursePriceDesc(){
	    
				
		return coursePriceDesc;
				
	}
	
	/**
	 * Set coursePriceDesc
	 * 课程费用简介
	 * @param String
	 */
	final public void setCoursePriceDesc(String coursePriceDesc ){
		
				
		this.coursePriceDesc = StringUtils.trim(coursePriceDesc);
				
		this.coursePriceDescSetted = true;
		
				
	}
	
	/**
	 * Get coursePriceDesc Has Been Setted
	 * 课程费用简介
	 * @return boolean
	 */
	final public boolean isCoursePriceDescSetted(){
		return this.coursePriceDescSetted;
	}
	
		
	   
		
	
	
	public int hashCode() {
		final int prime = 31;
		int result = 1;
				
				
		result = prime * result + (int) (getId() ^ (getId() >>> 32));
						
		return result;
	}
	
	public boolean equals(Object obj) {
	
		if (obj == null){
			return false;
		}
		if ((obj instanceof Lesson) == false){
			return false;
		}
		Lesson other = (Lesson) obj;
		
				
				
		if (getId() != other.getId()){
			return false;
		}
						
		return true;
	
	}	
	
	public String toString(){
	    
		StringBuffer buffer = new StringBuffer();
		
		buffer.append("[");
		
		        
		buffer.append("id=");
		buffer.append(this.id);
		        
		buffer.append("campusId=");
		buffer.append(this.campusId);
		        
		buffer.append("classId=");
		buffer.append(this.classId);
		        
		buffer.append("teacherId=");
		buffer.append(this.teacherId);
		        
		buffer.append("coursePriceId=");
		buffer.append(this.coursePriceId);
		        
		buffer.append("classroomId=");
		buffer.append(this.classroomId);
		        
		buffer.append("repeatType=");
		buffer.append(this.repeatType);
		        
		buffer.append("repeatPeriod=");
		buffer.append(this.repeatPeriod);
		        
		buffer.append("excludeHolidays=");
		buffer.append(this.excludeHolidays);
		        
		buffer.append("startDate=");
		buffer.append(this.startDate);
		        
		buffer.append("endDate=");
		buffer.append(this.endDate);
		        
		buffer.append("maxLessonCount=");
		buffer.append(this.maxLessonCount);
		        
		buffer.append("startLessonTime=");
		buffer.append(this.startLessonTime);
		        
		buffer.append("endLessonTime=");
		buffer.append(this.endLessonTime);
		        
		buffer.append("lessonTopic=");
		buffer.append(this.lessonTopic);
		        
		buffer.append("deleteFlag=");
		buffer.append(this.deleteFlag);
		        
		buffer.append("status=");
		buffer.append(this.status);
		        
		buffer.append("remarks=");
		buffer.append(this.remarks);
		        
		buffer.append("campusName=");
		buffer.append(this.campusName);
		        
		buffer.append("className=");
		buffer.append(this.className);
		        
		buffer.append("teacherName=");
		buffer.append(this.teacherName);
		        
		buffer.append("classroomName=");
		buffer.append(this.classroomName);
		        
		buffer.append("courseId=");
		buffer.append(this.courseId);
		        
		buffer.append("coursePriceDesc=");
		buffer.append(this.coursePriceDesc);
		        
		buffer.append("courseName=");
		buffer.append(this.courseName);
				
		buffer.append("]");
		
		return buffer.toString();
	}
	
	
}